/**
 * @Copyright: Interactive Business Solution Pte Ltd, Singapore
 * @Author: Dolita, 2007-12-24
 * @Version: 071224.001
 * Model class for Currency, following properties are required:
 * id, fromMoney, toMoney, rate, offlineOperator, updateTime
 */
 package com.ibsol.model
{
	[Bindable]
	[RemoteClass(alias="com.ibsol.tourix.model.Currency")]
	public class Currency
	{	
		private var _id:int;
		private var _fromMoney:String;
		private var _toMoney:String;
		private var _rate:Number;
		private var _offlineOperator:String;
		private var _updateTime:String;
		
		/**
		 * Default constructor of Currency
		 */
		public function Currency()
		{
			_id = 0;
			_fromMoney = "";
			_toMoney = "";
			_rate = 0;
			_offlineOperator = "";
			_updateTime = "";
		}
		
		public function set id(value:int):void{
			this._id = value;
		}
		
		public function set fromMoney(value:String):void{
			this._fromMoney = value;
		}
		
		public function set toMoney(value:String):void{
			this._toMoney = value;
		}
		
		public function set rate(value:Number):void{
			this._rate = value;
		}
		
		public function set offlineOperator(value:String):void{
			this._offlineOperator = value;
		}
		
		public function set updateTime(value:String):void{
			this._updateTime = value;
		}
		
		public function get id():int{
			return this._id;
		}
		
		public function get fromMoney():String{
			return this._fromMoney;
		}
		
		public function get toMoney():String{
			return this._toMoney;
		}
		
		public function get rate():Number{
			return this._rate;
			
		}
		
		public function get offlineOperator():String{
			return this._offlineOperator;
		}
		
		public function get updateTime():String{
			return this._updateTime;
		}
	}
}